#include <bits/stdc++.h>
using namespace std;
int main()
{
  freopen("arena.in", "r", stdin);
  freopen("arena.out", "w", stdout);
  int T;
  cin >> T;
  while (T--)
    cout << 0 << endl;
  fclose(stdin);
  fclose(stdout);
  return 0;
}